
package pos.util;

import java.util.Random;
import java.util.UUID;
/**
 * Helper class to generate unique identifiers
 * @author srikanth ramu
 */
public class IDGenerator {

    /**
     * Generates the random number for the ids
     * @return the long type identifier
     */
    public static long getID(){
        long id = System.currentTimeMillis();
        Random r = new Random(10);
        id = id + r.nextInt();
        return id;
    }
    
}
